2005-12-27 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
not NULL. Fixes bug #317687.
+2005-12-27 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
+ FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
+ not NULL. Fixes bug #317687.
+
2005-12-27 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
+2005-12-27 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
+ FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
+ not NULL. Fixes bug #317687.
+
2005-12-27 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
<!ENTITY gtk-Changes-1-2 SYSTEM "changes-1.2.sgml">
<!ENTITY gtk-Changes-2-0 SYSTEM "changes-2.0.sgml">
<!ENTITY gtk-migrating-checklist SYSTEM "xml/migrating-checklist.sgml">
+<!ENTITY gtk-migrating-Cairo SYSTEM "xml/migrating-Cairo.sgml">
<!ENTITY gtk-migrating-GtkFileChooser SYSTEM "xml/migrating-GtkFileChooser.sgml">
<!ENTITY gtk-migrating-GtkAction SYSTEM "xml/migrating-GtkAction.sgml">
<!ENTITY gtk-migrating-GtkComboBox SYSTEM "xml/migrating-GtkComboBox.sgml">
{
GSList *list;
+ if (!filter_info->mime_type)
+ break;
+
for (list = rule->u.pixbuf_formats; list; list = list->next)
{
int i;